/*
 * @LastEditors: 七七
 * @Date: 2023-01-06 10:04:31
 */
import React from 'react';
// 引入ReactDOM
import ReactDOM from 'react-dom';
// BrowserRouter 多个路径会丢失样式
import { BrowserRouter } from "react-router-dom";
// HashRouter # 路径学多个不会丢失样式 不推荐
// import { HashRouter } from "react-router-dom";
//引入App组件
import App from './App.jsx';

// 渲染App组件到页面
ReactDOM.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>,
  document.getElementById('root'));       